﻿
function op(obj,id2) {
    o(id2).className = 'selected';
    o(id2 + 'Buttons').className = 'submitButtonsSelected';
    b();
    obj.select() ;
}

function of( id) {
    o(id).className = 'none';
    o(id + 'Buttons').className = 'submitButtons';
    b();
}

function o(id) {
    return document.getElementById(id);
}

function b() {
    if (document.selection)
    document.selection.empty();
    else if (window.getSelection)
    window.removeAllRanges();
}
